package com.maimang.platform.controller.tool;

import com.maimang.platform.base.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname SwaggerController
 * @description Swagger 接口说明入口
 * @date 2019-04-23 16:04
 * @email jintaozhao@qq.com
 */
@Controller
@RequestMapping("/tool/swagger")
public class SwaggerController extends BaseController {

	@RequiresPermissions("tool:swagger:view")
	@GetMapping
	public String index() {
		return redirect("/doc.html");
	}
}
